package com.mingqijia.gassafety.db.mapper;

import com.mingqijia.gassafety.db.entity.DtuValveRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * <p>
 * 设备、电磁阀操作记录表 Mapper 接口
 * </p>
 *
 * @author fei.zhang
 * @since 2023-08-23
 */
@Mapper
@Repository
public interface DtuValveRecordMapper extends BaseMapper<DtuValveRecord> {

    List<DtuValveRecord> selectByImei(@Param("imei") String imei, @Param("spId")String spId);

}
